<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>优实力加盟</title>
<meta http-equiv="keywords" content="">
<meta http-equiv="description" content="">
<script src="/js/jquery.js"></script>
<script src="/js/index.js"></script>
<link href="index.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!--banner-->
<a href=""><img data-scroll-reveal="wait 0.25s, then enter top and move 40px over 1s" class="banner" src="img/gyt_02.png"></a>
<!--xm_1-->
<div class="jtls">
	 <a href="index.html">关于我们</a>
	 <a href="fzlc.html">发展历程</a>
     <a class="currt" href="jtfc.html">集团风采</a>
</div>
<!---->
<div class="jtfc">
     <h1 class="btil" data-scroll-reveal="wait 0.25s, then enter top and move 40px over 1s">集团风采</h1>
     <p class="gsfc" data-scroll-reveal="wait 0.25s, then enter bottom and move 40px over 1s">Group style</p>
     <ul id="ulList">
         <li data-scroll-reveal="wait 0.25s, then enter top and move 40px over 1s">
             <img src="img/fty_05.png" />
             <h1>爱心扶贫单位</h1>
         </li>
         <li data-scroll-reveal="wait 0.25s, then enter top and move 40px over 1s">
             <img src="img/fty_07.png" />
             <h1>姜囡囡受聘青少年特聘导师</h1>
         </li>
         <li data-scroll-reveal="wait 0.25s, then enter top and move 40px over 1s">
             <img src="img/fty_09.png" />
             <h1>行动教育校长大奖赛</h1>
         </li>
         <li data-scroll-reveal="wait 0.25s, then enter top and move 40px over 1s">
             <img src="img/fty_14.png" />
             <h1>优实力教育集团年会</h1>
         </li>
         <li data-scroll-reveal="wait 0.25s, then enter top and move 40px over 1s">
             <img src="img/fty_15.png" />
             <h1>行动教育战略合作</h1>
         </li>
         <li data-scroll-reveal="wait 0.25s, then enter top and move 40px over 1s">
             <img src="img/fty_17.png" />
             <h1>共青团优实力教育委员会</h1>
         </li>
         <li data-scroll-reveal="wait 0.25s, then enter top and move 40px over 1s">
             <img src="img/fty_23.png" />
             <h1>优实力教育星光书屋</h1>
         </li>
         <li data-scroll-reveal="wait 0.25s, then enter top and move 40px over 1s">
             <img src="img/fty_24.png" />
             <h1>优实力教育感恩10年</h1>
         </li>
         <li data-scroll-reveal="wait 0.25s, then enter top and move 40px over 1s">
             <img src="img/fty_25.png" />
             <h1>优实力教育爱心帮扶企业</h1>
         </li>
     </ul>
</div>
<div class="yahoo"> 
     <span class="disabled">&lt; </span>
    <div id="setPageNum">
        <a href="javascript:void(0);">1</a>
        <a href="javascript:void(0);">2</a>
        <a href="javascript:void(0);">3</a>
        <a href="javascript:void(0);">4</a>
        <a href="javascript:void(0);">5</a>
        <a href="">6</a>
        <a href="">7</a>
        <a href="">8</a>
        <a href="">9</a>
        <a href="">10</a>
    </div>
     <a href="">&gt;</a>
</div>
</body>
<script type="text/javascript">


    var pageNum=1;
    var pageSize = 9;

    $.ajax({
        url : "http://192.168.1.195:4040/api/upload?pageNum="+pageNum+"&pageSize="+pageSize,
        type : "get",
        success : function(result) {
            //设置页码
            var total= result.data.total;
            countNum = total/pageSize;
            $("#setPageNum").html("")
            for(var i=1;i<=countNum;i++){
                var str = "<a onclick='updateInfo("+i+")' href=\"javascript:void(0);\">"+i;
                str+="</a>"
                $("#setPageNum").append(str)
            }
            $("#ulList").html("");
            for( o in result.data.rows){
                console.log(result.data.rows[o])
                var str = "<li data-scroll-reveal=\"wait 0.25s, then enter top and move 40px over 1s\">"
                str+="<img src="+result.data.rows[o].filePath+"></img>"
                str+="<h1>"+result.data.rows[o].filePath+"</h1>"
                str+="</li>"
                $("#ulList").append(str)
            }

        }
    });


    function updateInfo(index) {

        $.ajax({
            url : "http://192.168.1.195:4040/api/upload?pageNum="+index+"&pageSize="+pageSize,
            type : "get",
            success : function(result) {
                //设置页码
                var total= result.data.total;
                countNum = total/pageSize;
                $("#setPageNum").html("")
                for(var i=1;i<=countNum;i++){
                    var str = "<a onclick='updateInfo("+i+")' href=\"javascript:void(0);\">"+i;
                    str+="</a>"
                    $("#setPageNum").append(str)
                }
                $("#ulList").html("");
                for( o in result.data.rows){
                    console.log(result.data.rows[o])
                    var str = "<li data-scroll-reveal=\"wait 0.25s, then enter top and move 40px over 1s\">"
                    str+="<img src="+result.data.rows[o].filePath+"></img>"
                    str+="<h1>"+result.data.rows[o].filePath+"</h1>"
                    str+="</li>"
                    $("#ulList").append(str)
                }

            }
        });

    }
</script>
</html>
